package com.anxinr.service;

import com.anxinr.pojo.dto.UserDTO;
import com.anxinr.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * @author anxinr
 */
public interface UserService extends IService<User> {
    /**
     * 用户登录
     * @author anxinr
     * @return HashMap
     * @param user
     */
    HashMap<String, Object> login(UserDTO user);
}
